<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Class: Origami::Annotation</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
  <script type="text/javascript">
  // <![CDATA[

  function popupCode( url ) {
    window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
  }

  function toggleCode( id ) {
    if ( document.getElementById )
      elem = document.getElementById( id );
    else if ( document.all )
      elem = eval( "document.all." + id );
    else
      return false;

    elemStyle = elem.style;
    
    if ( elemStyle.display != "block" ) {
      elemStyle.display = "block"
    } else {
      elemStyle.display = "none"
    }

    return true;
  }
  
  // Make codeblocks hidden by default
  document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
  
  // ]]>
  </script>

</head>
<body>



    <div id="classHeader">
        <table class="header-table">
        <tr class="top-aligned-row">
          <td><strong>Class</strong></td>
          <td class="class-name-in-header">Origami::Annotation</td>
        </tr>
        <tr class="top-aligned-row">
            <td><strong>In:</strong></td>
            <td>
                <a href="../../files/origami/annotations_rb.html">
                origami/annotations.rb
                </a>
        <br />
                <a href="../../files/origami/3d_rb.html">
                origami/3d.rb
                </a>
        <br />
            </td>
        </tr>

        <tr class="top-aligned-row">
            <td><strong>Parent:</strong></td>
            <td>
                <a href="Dictionary.html">
                Dictionary
               </a>
            </td>
        </tr>
        </table>
    </div>
  <!-- banner header -->

  <div id="bodyContent">



  <div id="contextContent">

    <div id="description">
      <p>
Class representing an annotation. Annotations are objects which user can
interact with.
</p>

    </div>


   </div>

    <div id="method-list">
      <h3 class="section-bar">Methods</h3>

      <div class="name-list">
      <a href="#M000434">set_down_appearance</a>&nbsp;&nbsp;
      <a href="#M000432">set_normal_appearance</a>&nbsp;&nbsp;
      <a href="#M000433">set_rollover_appearance</a>&nbsp;&nbsp;
      </div>
    </div>

  </div>


    <!-- if includes -->
    <div id="includes">
      <h3 class="section-bar">Included Modules</h3>

      <div id="includes-list">
        <span class="include-name">StandardObject</span>
      </div>
    </div>

    <div id="section">

    <div id="class-list">
      <h3 class="section-bar">Classes and Modules</h3>

      Module <a href="Annotation/Flags.html" class="link">Origami::Annotation::Flags</a><br />
Module <a href="Annotation/Markup.html" class="link">Origami::Annotation::Markup</a><br />
Module <a href="Annotation/Triggerable.html" class="link">Origami::Annotation::Triggerable</a><br />
Class <a href="Annotation/AdditionalActions.html" class="link">Origami::Annotation::AdditionalActions</a><br />
Class <a href="Annotation/AppearanceCharacteristics.html" class="link">Origami::Annotation::AppearanceCharacteristics</a><br />
Class <a href="Annotation/AppearanceDictionary.html" class="link">Origami::Annotation::AppearanceDictionary</a><br />
Class <a href="Annotation/AppearanceStream.html" class="link">Origami::Annotation::AppearanceStream</a><br />
Class <a href="Annotation/Artwork3D.html" class="link">Origami::Annotation::Artwork3D</a><br />
Class <a href="Annotation/BorderStyle.html" class="link">Origami::Annotation::BorderStyle</a><br />
Class <a href="Annotation/Circle.html" class="link">Origami::Annotation::Circle</a><br />
Class <a href="Annotation/FileAttachment.html" class="link">Origami::Annotation::FileAttachment</a><br />
Class <a href="Annotation/FreeText.html" class="link">Origami::Annotation::FreeText</a><br />
Class <a href="Annotation/Link.html" class="link">Origami::Annotation::Link</a><br />
Class <a href="Annotation/RichMedia.html" class="link">Origami::Annotation::RichMedia</a><br />
Class <a href="Annotation/Screen.html" class="link">Origami::Annotation::Screen</a><br />
Class <a href="Annotation/Shape.html" class="link">Origami::Annotation::Shape</a><br />
Class <a href="Annotation/Sound.html" class="link">Origami::Annotation::Sound</a><br />
Class <a href="Annotation/Square.html" class="link">Origami::Annotation::Square</a><br />
Class <a href="Annotation/Text.html" class="link">Origami::Annotation::Text</a><br />
Class <a href="Annotation/Widget.html" class="link">Origami::Annotation::Widget</a><br />

    </div>




      


    <!-- if method_list -->
    <div id="methods">
      <h3 class="section-bar">Public Instance methods</h3>

      <div id="method-M000434" class="method-detail">
        <a name="M000434"></a>

        <div class="method-heading">
          <a href="#M000434" class="method-signature">
          <span class="method-name">set_down_appearance</span><span class="method-args">(apstm)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000434-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000434-source">
<pre>
    <span class="ruby-comment cmt"># File origami/annotations.rb, line 65</span>
65:     <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_down_appearance</span>(<span class="ruby-identifier">apstm</span>)
66:       <span class="ruby-keyword kw">self</span>.<span class="ruby-constant">AP</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">AppearanceStream</span>.<span class="ruby-identifier">new</span>
67:       <span class="ruby-keyword kw">self</span>.<span class="ruby-constant">AP</span>[<span class="ruby-identifier">:D</span>] = <span class="ruby-identifier">apstm</span>
68: 
69:       <span class="ruby-keyword kw">self</span>
70:     <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000432" class="method-detail">
        <a name="M000432"></a>

        <div class="method-heading">
          <a href="#M000432" class="method-signature">
          <span class="method-name">set_normal_appearance</span><span class="method-args">(apstm)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000432-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000432-source">
<pre>
    <span class="ruby-comment cmt"># File origami/annotations.rb, line 51</span>
51:     <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_normal_appearance</span>(<span class="ruby-identifier">apstm</span>)
52:       <span class="ruby-keyword kw">self</span>.<span class="ruby-constant">AP</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">AppearanceDictionary</span>.<span class="ruby-identifier">new</span>
53:       <span class="ruby-keyword kw">self</span>.<span class="ruby-constant">AP</span>[<span class="ruby-identifier">:N</span>] = <span class="ruby-identifier">apstm</span>
54: 
55:       <span class="ruby-keyword kw">self</span>
56:     <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000433" class="method-detail">
        <a name="M000433"></a>

        <div class="method-heading">
          <a href="#M000433" class="method-signature">
          <span class="method-name">set_rollover_appearance</span><span class="method-args">(apstm)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000433-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000433-source">
<pre>
    <span class="ruby-comment cmt"># File origami/annotations.rb, line 58</span>
58:     <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_rollover_appearance</span>(<span class="ruby-identifier">apstm</span>)
59:       <span class="ruby-keyword kw">self</span>.<span class="ruby-constant">AP</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">AppearanceDictionary</span>.<span class="ruby-identifier">new</span>
60:       <span class="ruby-keyword kw">self</span>.<span class="ruby-constant">AP</span>[<span class="ruby-identifier">:R</span>] = <span class="ruby-identifier">apstm</span>
61: 
62:       <span class="ruby-keyword kw">self</span>
63:     <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>


    </div>


  </div>


<div id="validator-badges">
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
</div>

</body>
</html>